package com.deewin.provider.service.impl;

import com.deewin.provider.service.HelloService;
import org.apache.dubbo.config.annotation.DubboService;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service;

@DubboService(group = "provider")
@Service
public class HelloServiceImpl implements HelloService {


    @Value("${server.port}")
    private String protocol;

    public String sayHello(String name) {
        System.out.println(protocol);
        return "hello" +name;
    }



}
